import request from "../request.js"

// banner轮播
function bannerAds(data){
	return request({
		url:"/lejuClient/home/bannerAds",
		data:data
	})
}

// 分类
function categorys(id,data){
	return request({
		url:`/lejuClient/home/categorys/${id}`,
		data:data
	})
}
// 限时活动
function recommendList(data){
	return request({
		url:"/lejuClient/home/recommendList",
		data:data
	})
}
// 热门推荐
function hotList(data){
	return request({
		url:"/lejuClient/home/hotList",
		data:data
	})
}
// 新品推荐
function lejuLatestProducts(data){
	return request({
		url:"/lejuClient/home/lejuLatestProducts",
		data:data
	})
}
// 猜你喜欢
function saleMostProducts(data){
	return request({
		url:"/lejuClient/home/saleMostProducts",
		data:data
	})
}
export {
	bannerAds,
	categorys,
	hotList,
	recommendList,
	lejuLatestProducts,
	saleMostProducts
}